import request from "@/utils/request";

// 查询限定提交日期表单 错误码 20050
export function gettmanageList(params) {
  return request({
    url: "/energy/manage/list",
    method: "get",
    params,
  });
}

// 导出节能降碳信息PDF文件 错误码 20051
export function getExportpdf(id) {
  return request({
    url: `/energy/information/export/pdf/${id}`,
    method: "get",
  });
}

// 新增/修改节能降碳具体信息 错误码 20052
export function putAddOrEdit(data) {
  return request({
    url: "/energy/information",
    method: "put",
    data,
  });
}

// 查询节能降碳具体信息 错误码 20053
export function postDetail(data) {
  return request({
    url: "/energy/information/detail/list",
    method: "post",
    data,
  });
}
